package com.ruoze.bdp.service;

import com.ruoze.bdp.entity.ClusterEntity;
import com.ruoze.bdp.entity.ClusterVo;
import com.ruoze.bdp.entity.cluster.ClusterRequest;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ClusterService {
    Page<ClusterEntity> queryPage(ClusterRequest clusterRequest);

    void createNewCluster(ClusterVo newCluster);

    void replaceNewCluster(ClusterVo newCluster, long id);

    void logicalDelCluster(long id);

    void logicalBatchDelCluster(List<Long> idList);

    List<ClusterEntity> queryAll();
}
